package ooday02;

public class Chick extends Animal{
    Chick(String name,String color,int age){
        super(name,color,age);
    }
    void eat(){
        System.out.println(name+"再吃米");
    }
    void leg(){
        System.out.println(name+"能下蛋");
    }
}
